package gxd26.basic;

public class J02_Arithmathic {

	public static void main(String[] args) {
		// 5. 다음 문장의 실행 결과는 무엇인지 서술하여라.
		//결과가 무엇일까?
		System.out.println((1/3)*3);
		
		//자료형 변환(명시적)
		System.out.println(((float)1/3)*3);
		
		//실수 리터럴
		System.out.println((1./3)*3);
		System.out.println((1F/3)*3);
		System.out.println();
		
		double number = (1/3)*3;
		int quotient = 7/3;
		int remainder = 7%3;
		int result = 11;	result /=2;
		
		
		System.out.println(number);
		System.out.println(quotient);
		System.out.println(remainder);
		System.out.println(result);

	}

}
